<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>删除图书</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      background-color: #f4f4f4;
      margin: 0;
      padding: 20px;
    }
    h1 {
      text-align: center;
      color: #333;
    }
    form {
      background-color: #fff;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
      width: 400px;
      margin: 0 auto;
    }
    label {
      display: block;
      margin-bottom: 5px;
    }
    input[type="text"],
    select {
      width: 100%;
      padding: 8px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 3px;
    }
    input[type="submit"] {
      background-color: #007BFF;
      color: #fff;
      padding: 10px 20px;
      border: none;
      border-radius: 3px;
      cursor: pointer;
    }
    input[type="submit"]:hover {
      background-color: #0056b3;
    }
    #result {
      margin-top: 20px;
      background-color: #fff;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }
  </style>
</head>
<body>
<h1>删除图书</h1>
<form action="${pageContext.request.contextPath}/books" method="post">
  <input type="hidden" name="action" value="delete">
  <label for="classify">图书分类:</label>
  <select name="classify" id="classify">
    <option value="MARXISM_LENINISM">马列主义</option>
    <option value="PHILOSOPHY">哲学</option>
    <option value="SOCIAL_SCIENCES">社会科学</option>
    <option value="NATURAL_SCIENCE">自然科学</option>
    <option value="COMPREHENSIVE_BOOKS">综合性图书</option>
  </select>
  <label for="query">删除条件:</label>
  <input type="text" id="query" name="query" required>
  <input type="submit" value="删除">
</form>
<div id="result"></div>
</body>
</html>